rockchip: rk3399: Move rockchip_get_cru() out of the driver
authorSimon Glass <[email protected]>
Sun, 2 Oct 2016 02:04:51 +0000 (20:04 -0600)
committerSimon Glass <[email protected]>
Sun, 30 Oct 2016 19:29:06 +0000 (13:29 -0600)
commitc8a6bc968312f572cc84e3928ae5a293f2454849
tree6941eebae4470884a01ec66cc1c15208ed746381
parent92ac73e4c2579444ee5017f37aa61e116ccf15c9
rockchip: rk3399: Move rockchip_get_cru() out of the driver

This function is called from outside the driver. It should be placed into
common SoC code. Move it.

Also rename the driver symbol to be more consistent with the other rockchip
clock drivers.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Kever Yang <[email protected]>
arch/arm/include/asm/arch-rockchip/cru_rk3399.h
arch/arm/mach-rockchip/rk3399/Makefile
arch/arm/mach-rockchip/rk3399/clk_rk3399.c [new file with mode: 0644]
drivers/clk/rockchip/clk_rk3399.c